package net.ak.service;

import net.ak.response.AKResponse;


public interface UserService {
	
	/**
	 * This method is used to login into system.
	 * @param u
	 * @param p
	 * @param lat
	 * @param lng
	 * @return
	 */
	public AKResponse login(String u, String p, String lat, String lng);
	
	/**
	 * This method is used to get all category.
	 * @param session
	 * @return
	 */
	public AKResponse listAllCategory(String session);
	
	/**
	 * This method is used to get category by id.
	 * @param session
	 * @param catId
	 * @return
	 */
	public AKResponse getCategoryById(String session, String catId);
	
	/**
	 * This method is used to register category.
	 * @param session
	 * @param catId
	 * @param cost
	 * @param desc
	 * @param paypalEmail
	 * @return
	 */
	public AKResponse registerCategory(String session, String catId, String cost, String desc, String paypalEmail);
}
